package top.deepdesigner.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.deepdesigner.pojo.DtsOrder;
import top.deepdesigner.vo.CategorySellAmts;
import top.deepdesigner.vo.DayStatis;
import top.deepdesigner.vo.StatGoodVO;
import top.deepdesigner.vo.StatOrderVO;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author zhaojian
 * @since 2021-05-12
 */
public interface DtsOrderMapper extends BaseMapper<DtsOrder> {


  List<CategorySellAmts> selectCategorySell();

  List<DayStatis> selectOrderTotalAndCountByDate(Integer days);

  List<StatOrderVO> selectOrderStat(int days);

  List<StatGoodVO> selectOrderAndGoodsStat(int days);
}
